package com.gancp.service;

import com.gancp.domain.Attend;
import com.gancp.service.base.IBaseBiz;


import java.util.List;
import java.util.Map;

/**
 * Created by GCP on 2018/5/1.
 * 打卡业务接口
 */
public interface AttendBiz extends IBaseBiz<Attend, Long> {

    String signAttend(Attend attend) throws Exception;


    List<Attend> selectByUserid(Long userid) throws Exception;

    List<Attend> selectAttendsPage(Map<String, Object> param) throws Exception;

    /**
     * @Author gancp
     * @Date 时间被黑洞吸走了
     * @Descripition 打卡任务自动处理
     **/
    void checkAttendTask() throws Exception;
}
